/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Chain;

/**
 *
 * @author Marcel
 */
public abstract class Veiculo {
    
    Veiculo sucessor;
    
    public void setSuccessor(Veiculo sucessor) {
        this.sucessor = sucessor;
    }

    abstract public void processRequest(int i);
    
}
